package com.liang.hellocompose.data
import com.squareup.moshi.JsonClass

import com.squareup.moshi.Json



/**
 * @author suzl
 * @createTime 2021/8/3
 * @Description
 */
@JsonClass(generateAdapter = true)
data class BaseResult<T>(
    @Json(name = "data")
    val `data`: T,
    @Json(name = "errorCode")
    val errorCode: Int, // 0
    @Json(name = "errorMsg")
    val errorMsg: String
)
